/* Carregar Menu Principal */
var cmmenu_principal =
{
    mainFolderLeft: '',
    mainFolderRight: '',
    mainItemLeft: '',
    mainItemRight: '',
    folderLeft: '',
    folderRight: '',
    itemLeft: '',
    itemRight: '',
    mainSpacing: 0,
    subSpacing: 0,
    delay: 100,
    offsetVMainAdjust: [0, 0],
    offsetSubAdjust: [0, 0]
};
var cmmenu_cadastro_HSplit = [_cmNoClick, '<td colspan="3" class="menu_cadastro_MenuSplit"><div class="menu_cadastro_MenuSplit"><\/div><\/td>'];
var cmmenu_cadastro_MainHSplit = [_cmNoClick, '<td colspan="3" class="menu_cadastro_MenuSplit"><div class="menu_cadastro_MenuSplit"><\/div><\/td>'];
var cmmenu_cadastro_MainVSplit = [_cmNoClick, '<div class="menu_cadastro_MenuVSplit">|<\/div>'];

cmDrawFromText('menu_principal', 'vbr', cmmenu_principal, 'menu_cadastro_');

/* 
 * Carregar conteúdo do Menu no centro da tela
 */

$(document).ready(function() {
  //$("#conteudo").load("home.html");
});

// Cadastro
function carregaCadastro(page) {
  $("#conteudo_cadastro").load(page);
}

// Financeiro
function carregaFinanceiro(page) {
  $("#conteudo_financeiro").load(page);
}

// Relatorio
function carregaRelatorio(page) {
  $("#conteudo_relatorio").load(page);
}